<!DOCTYPE html
  PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
   Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
   Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl.
-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us" lang="en-us">
<head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
<meta name="DC.Type" content="task" />
<meta name="DC.Title" content="Using JMX Data Persistence Files" />
<meta name="abstract" content="When you enable JMX Data Persistence logging, data is stored in binary files in the persistence directory." />
<meta name="description" content="When you enable JMX Data Persistence logging, data is stored in binary files in the persistence directory." />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="GUID-ECB99579-0933-45B8-ABC4-9A0EAC2B5E57" />
<meta name="DC.Language" content="en-US" />

<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<title>Using JMX Data Persistence Files</title>

<meta name="doctitle" content="Using JMX Data Persistence Files&#xA;" />
<meta name="robots" content="noarchive" />
<link rel="copyright" href="http://oss.oracle.com/licenses/upl" title="Copyright" type="text/html" />

<link rel="contents" href="toc.htm" title="Contents" type="text/html" />
<link rel="prev" href="GUID-FA2C4870-8D2F-4627-9DBA-5B530785453A.htm" title="Previous" type="text/html" />
<link rel="next" href="GUID-953292B2-45D3-4842-9656-DAE88D239BA6.htm" title="Next" type="text/html" />
</head>
<body>
<div class="zz-skip-header"><a href="#BEGIN">Go to primary content</a></div>
<table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="100%">
<col width="86%" /><col width="*" /><tr valign="bottom">
<td></td>


<td align="center">
<a href="GUID-FA2C4870-8D2F-4627-9DBA-5B530785453A.htm">
<img src="./dcommon/gifs/leftnav.gif" alt="Previous" /><br />
<span class="icon">Previous</span>
</a>
</td>
<td align="center">
<a href="GUID-953292B2-45D3-4842-9656-DAE88D239BA6.htm">
<img src="./dcommon/gifs/rightnav.gif" alt="Next" /><br />
<span class="icon">Next</span>
</a>
</td>
<td> </td>


</tr>
</table><div class="ind"><a id="GUID-ECB99579-0933-45B8-ABC4-9A0EAC2B5E57" name="GUID-ECB99579-0933-45B8-ABC4-9A0EAC2B5E57"></a><!-- End Header -->
<h1 id="JMCOH-GUID-ECB99579-0933-45B8-ABC4-9A0EAC2B5E57" class="sect1">Using JMX Data Persistence Files</h1>
<div><p>When you enable JMX Data Persistence logging, data is stored in binary files in the <span class="italic">persistence directory</span>.</p>
<div class="section">By default, this directory for JMC 7.0 is located in <code>USER-HOME/.jmc/7.1.0/persisted_jmx_data</code><p>To change the persistence directory:</p>
</div>
<!-- class="section" -->
<ol><li><span>Open the <span class="bold">Window</span> menu and select <span class="bold">Preferences</span>.</span></li>
<li><span>In the left pane, expand <span class="bold">JDK Mission Control</span>, then expand <span class="bold">JMX Console</span>, and select <span class="bold">JMX Data Persistence</span>.</span></li>
<li><span>Modify the path in the <span class="bold">Persistence directory</span> field or click <span class="bold">Browse</span> to select the directory in the file system explorer.</span></li>
<li><span>Click <span class="bold">Apply</span> to apply the changes.</span></li>
</ol>
<div class="section">The persistence directory contains folders with the names of the JVM connections for which data persistence was enabled. Each JVM connection folder contains subfolders with names of attributes for which data persistence was enabled. These subfolders contain the actual log files named <code>*.persisted_jmx_data</code>, and additional metadata files named <code>series.info</code>.<p>You can drag and drop the log files to the JMC console window to view them in the <span class="bold">JMX Data Persistence</span> window. Make sure that the folder structure is preserved for each JVM connection if you want to share the data files on the network.</p>
</div>
<!-- class="section" -->
</div>
</div><!-- class="ind" --><!-- Start Footer -->
<table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="100%">
<col width="86%" /><col width="*" /><tr valign="bottom">
<td><a href="http://oss.oracle.com/licenses/upl"><br />
<span class="copyrightlogo">Copyright&#160;&#169;&#160;2018, Oracle&#160;and/or&#160;its&#160;affiliates.&#160;All&#160;rights&#160;reserved.</span></a></td>


<td align="center">
<a href="GUID-FA2C4870-8D2F-4627-9DBA-5B530785453A.htm">
<img src="./dcommon/gifs/leftnav.gif" alt="Previous" /><br />
<span class="icon">Previous</span>
</a>
</td>
<td align="center">
<a href="GUID-953292B2-45D3-4842-9656-DAE88D239BA6.htm">
<img src="./dcommon/gifs/rightnav.gif" alt="Next" /><br />
<span class="icon">Next</span>
</a>
</td>
<td> </td>


</tr>
</table>

<!-- class="footer" -->
</body>
</html>